﻿using NB.MGJ.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NB.MGJ.Model
{
    /// <summary>
    /// 用户表
    /// </summary>
    public class V_User
    {

        /// <summary>
        /// ID
        /// </summary>
        public int ID { set; get; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int? ViewDel { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public int? ViewFlag { get; set; }
        /// <summary>
        /// 机构ID
        /// </summary>
        public int EnterpriseId { get; set; }
        
        /// <summary>
        /// 登录名
        /// </summary>
        public string LoginName { set; get; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string RealName { get; set; }

        /// <summary>
        /// 总部机构ID 0诺标   1 总部    大于1是子公司
        /// </summary>
        public int HeadId { get; set; }

        public string Pwd { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Modile { get; set; }

        public string Remark { get; set; }
        /// <summary>
        /// 机构Img
        /// </summary>
        public string Img { get; set; }

        public DateTime? DisableTime { get; set; }
        public int? ChangeLoginID { get; set; }

        public string ChangeLoginName { get; set; }
        public DateTime? ChangeDate { get; set; }

        public int? Province { get; set; }

        public int AdminRoleID { get; set; }

        public int City { get; set; }

        /// <summary>
        /// 机构code
        /// </summary>
        public string Code { get; set; }

        public int EID { get; set; }


        public string EnterpriseName { get; set; }

        public string UserImg { get; set; }

        public string roleNames { get; set; }

        public int Distributor { get; set; }
        public int Type { get; set; }

        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 微信OpenId
        /// </summary>
        public string WXID { get; set; }
    }
}
